package com.opennews.openplatform

/**
 * One account group contains users.
 * The one registers will be the account group admin who has the permission to add other account group users.
 * AccountGroup links to expense, report, statistics and so on.
 */
class AccountGroup {
    String id
    String title
    Collection<User> users
    Date dateCreated
    Date lastUpdated

    static constraints = {
        title nullable: false, blank: false, maxSize: 50
    }

    static mapping = {}
}